export interface Student {
  studentId: string
  name: string
  headshot: string | null
  disabled?: boolean
}

export interface ClassGroup {
  classId: string
  className: string
  studentList: Student[]
}

export interface IndexedStudent extends Student {
  letter: string // 用于首字母索引
}

export interface IndexedClassGroup extends ClassGroup {
  studentList: IndexedStudent[]
}

export interface LetterGroup {
  letter: string
  students: IndexedStudent[]
}

export interface GroupedClassGroup extends ClassGroup {
  letterGroups: LetterGroup[]
}
